package com.cltech.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * Created by Administrator on 2019/4/9.
 */
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SysUserDto {
    private String id;
    private String userName;
    @NotBlank(message="账号不能为空")
    private String account;
    @NotBlank(message="密码不能为空")
    private String password;
    private String state;
    private String portrait;
    private String organizationId;
    private String organizationName;
    private String organizationCode;
    private String roleIds;
}
